<?php
namespace DesignPatterns\Structural\DecoratorTwo\Tests;

use PHPUnit\Framework\TestCase;
use DesignPatterns\Structural\DecoratorTwo\Coffee;

class DecoratorTwoTest extends TestCase {
    protected function setUp() {}

    public function testDecorator() {
    	$coffee = new Espresso();
		$coffee = new Mocha($coffee);
		$coffee = new Mocha($coffee);
		$coffee = new Whip($coffee);

        $this->assertEquals(3.6, $coffee->cost());
    }
}
